package com.perfma.xtest.tool;

import com.google.common.base.Splitter;
import com.google.common.collect.Lists;

import java.util.List;

/**
 * @author: junhui.si
 * @date: 2020-10-28 15:07
 **/
public class MixDemo {
    public static void main(String[] args) {
        List<String> rateList = Lists.newArrayList(Splitter.on(" ").omitEmptyStrings().split("-Xmx4g      -XX:SurvivorRatio=9   "));
        System.out.println(rateList.size());
        for (String s : rateList) {
            System.out.println("$" + s + "$");
        }
    }
}
